{include file="inc/header_other.html"}
<link href="css/common.css" rel="stylesheet"/>
<link href="css/rank.css" rel="stylesheet"/>


<ul class="item re">
	<li><a href="index.php?ctl=rank&act=rank_dw"><img src="image/duanw.png" alt=""></a></li>
	<li><a href="index.php?ctl=rank&act=rank_fh"><img src="image/fuhao.png" alt=""></a></li>
	<li><a href="index.php?ctl=rank&act=rank_rq"><img src="image/renqi.png" alt=""></a></li>
	<li><a href="index.php?ctl=rank&act=rank_xingyun"><img src="image/xingyun.png" alt=""></a></li>
	<li><a href="index.php?ctl=rank&act=rank_mp"><img src="image/menpai.png" alt=""></a></li>
</ul>
<ul class="nav">
	<li><a class="blue" href="">实时</a></li>
	<li><a href="">昨日</a></li>
	<li><a href="">月榜</a></li>
	<li><a href="">总榜</a></li>
</ul>

<section class="person">
{foreach from="$data.list" item="list" key="k"}
	
	<div class="per1">
		<p class="paim">
			<span class="number"><?=$this->_var['k']+1?></span>
		</p>
		<p class="pic">
			<img class="name" src="
			<?=empty($this->_var['list']['user_logo'])?$this->_var['list']['avatar']:$this->_var['list']['user_logo'];?>
			" alt="">
		</p>
		<p>{$list.user_name}</p>
		<p class="gray">
		<?
		switch($this->_var['list']['dw']){
			case '1':$dw_name='初入江湖';break;
			case '2':$dw_name='拜师学艺';break;
			case '3':$dw_name='小试牛刀';break;
			case '4':$dw_name='驾轻就熟';break;
			case '5':$dw_name='大显身手';break;
			case '6':$dw_name='炉火纯青';break;
			case '7':$dw_name='出类拔萃';break;
			case '8':$dw_name='技冠群雄';break;
			case '9':$dw_name='出神入化';break;
			case '10':$dw_name='登峰造极';break;
			default:$dw_name='暂无';
		}
		echo $dw_name;
		?>
	</div>
{/foreach}
</section>

<footer class="user">
	<div class="per1">
		<p class="paim">
			<span class="number">{$data.myinfo.num}</span>
		</p>
		<p class="pic">
			<img class="name" src="{$data.myinfo.data.user_logo}" alt="">
		</p>
		<p>{$data.myinfo.data.user_name} </p>
		<p class="gray">
		<?
		switch($this->_var['data']['myinfo']['data']['dw']){
			case '1':$dw_name='初入江湖';break;
			case '2':$dw_name='拜师学艺';break;
			case '3':$dw_name='小试牛刀';break;
			case '4':$dw_name='驾轻就熟';break;
			case '5':$dw_name='大显身手';break;
			case '6':$dw_name='炉火纯青';break;
			case '7':$dw_name='出类拔萃';break;
			case '8':$dw_name='技冠群雄';break;
			case '9':$dw_name='出神入化';break;
			case '10':$dw_name='登峰造极';break;
			default:$dw_name='暂无';
		}
		echo $dw_name;
		?>
		</p>
	</div>
	
</footer>


